package com.winit.schedule.core.localstore;

import com.winit.schedule.core.utils.Constants;

public class LocalStoreConfig {

    // 唯一标识
    private String identity;

    private String localStorePath;

    private String taskGroup;

    public String getIdentity() {
        return identity;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getLocalStorePath() {
        return localStorePath + Constants.FILE_SEPARATOR + ".uschedule" + Constants.FILE_SEPARATOR + taskGroup
               + Constants.FILE_SEPARATOR;
    }

    public void setLocalStorePath(String localStorePath) {
        this.localStorePath = localStorePath;
    }

    public String getTaskGroup() {
        return taskGroup;
    }

    public void setTaskGroup(String taskGroup) {
        this.taskGroup = taskGroup;
    }

}
